
Ext.namespace('GBIF');
Ext.namespace('GBIF.GeoSpatial');


GBIF.GeoSpatial.SelectFeature= OpenLayers.Class( OpenLayers.Control.SelectFeature,  {
				onSelect:function(feature) {
            				selectedFeature = feature;
							console.log("Feature",feature.data);
        			}
			,	onUnselect:function(feature) {
			           // geoMapPanel.map.removePopup(feature.popup);
			           // feature.popup.destroy();
			           // feature.popup = null;
			        }						
    		,	CLASS_NAME: "GBIF.GeoSpatial.SelectFeature"
});
